package com.erp.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("bus_Customer")
public class Customer  implements Serializable {
    @TableField(exist = false)
    private static final long seria1VersionUID=1L;
    @TableId(type = IdType.AUTO)
    private  Integer id;

    private String  customername;
    private String  zip;
    private String  address;
    private String  telephone;
    private String  connectionperson;
    private String  phone;
    private String  bank;
    private String  account;
    private String  email;
    private String  fax;
    private String  available;

    @Override
    public String toString() {
        return "Customer{" +
                "id=" + id +
                ", customername='" + customername + '\'' +
                ", zip='" + zip + '\'' +
                ", address='" + address + '\'' +
                ", telephone='" + telephone + '\'' +
                ", connectionperson='" + connectionperson + '\'' +
                ", phone='" + phone + '\'' +
                ", bank='" + bank + '\'' +
                ", account='" + account + '\'' +
                ", email='" + email + '\'' +
                ", fax='" + fax + '\'' +
                ", available='" + available + '\'' +
                '}';
    }
}
